<?php

namespace App\Models\Log;

use App\Models\BaseModel;
/**
 * App\Models\Log\PayLog
 *
 * @property int $id
 * @property int $user_id 用户ID
 * @property string $out_trade_no 订单号
 * @property int $pay_type 支付类型 管理员充值:0 支付宝:1 微信:2
 * @property string $total_amount 实收金额
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property-read \Illuminate\Notifications\DatabaseNotificationCollection|\Illuminate\Notifications\DatabaseNotification[] $notifications
 * @property-read int|null $notifications_count
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog query()
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog whereOutTradeNo($value)
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog wherePayType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog whereTotalAmount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|PayLog whereUserId($value)
 * @mixin \Eloquent
 */
class PayLog extends BaseModel {

	protected $table = 'pay_log';
	protected $primaryKey = 'id';
	public $timestamps = true;
	protected $fillable = [
		'user_id',
		'out_trade_no',
		'pay_type',
		'total_amount',
	];

}
